"""
通用id
"""
RESOURCE_ID = '//*[@resource-id="com.xiaoma.service:id/{}"]'

"""
首页
"""
index_list_category_cover_img = '//*[@text="{}"]/parent::*/android.widget.ImageView'

# 保养节点图标
car_play_node_icon = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.View'

# 保养进度图标
car_play_schedule_icon = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.widget.ImageView'

# 第几次保养
car_play_times_text = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.widget.TextView'

# 建议保养里程标题
car_play_mileage_title_text = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/*[@resource-id="com.xiaoma.service:id/suggest_kilometre"]'

# 建议保养里程
car_play_mileage_number_text = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/*[@resource-id="com.xiaoma.service:id/kilometre_detail"]'

# 建议保养时间
car_play_mileage_time_text = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/*[@resource-id="com.xiaoma.service:id/maintenance_time"]'

# 建议保养项目标题
car_play_mileage_project_title_text = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/*[@resource-id="com.xiaoma.service:id/suggest_project"]'

# 建议保养项目
car_play_mileage_project_text = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/android.widget.ScrollView/*[@resource-id="com.xiaoma.service:id/option_name"]'

# 去保养按钮
car_play_mileage_go_maintenance_btn = '//*[@resource-id="com.xiaoma.service:id/recycler_view"]/android.view.ViewGroup[{}]/android.view.ViewGroup/*[@resource-id="com.xiaoma.service:id/leave_to_maintain"]'

# 维保项目
reservation_project_btn = '//*[@resource-id="com.xiaoma.service:id/rv_program"]/android.view.ViewGroup[{}]/android.widget.TextView'

# 门店选择标题
store_select_title_text = '//*[@resource-id="com.xiaoma.service:id/view_content"]/android.view.ViewGroup[{}]/*[@resource-id="com.xiaoma.service:id/choose_shop"]'

# 门店选择定位地址文本
store_select_position_text = '//*[@resource-id="com.xiaoma.service:id/view_content"]/android.view.ViewGroup[{}]/*[@resource-id="com.xiaoma.service:id/city_name_tv"]'

# 门店选择定位图标
store_select_position_icon = '//*[@resource-id="com.xiaoma.service:id/view_content"]/android.view.ViewGroup[{}]/android.widget.ImageView'

# 门店列表选择框
store_list_lift_select_img = '//*[@resource-id="com.xiaoma.service:id/shop_recycler"]/android.widget.RelativeLayout[{}]/android.widget.LinearLayout/android.widget.ImageView'

# 门店列表封面
store_list_lift_cover_img = '//*[@resource-id="com.xiaoma.service:id/shop_recycler"]/android.widget.RelativeLayout[{}]/android.widget.LinearLayout/*[@resource-id="com.xiaoma.service:id/details_linear"]/android.widget.ImageView'

# 门店列表门店介绍公司名称
store_list_Store_introduction_name_text = '//*[@resource-id="com.xiaoma.service:id/shop_recycler"]/android.widget.RelativeLayout[{}]/android.widget.LinearLayout/*[@resource-id="com.xiaoma.service:id/details_linear"]/android.widget.LinearLayout/*[@resource-id="com.xiaoma.service:id/shop_name"]'

# 门店列表门店介绍公司地址
store_list_Store_introduction_address_text = '//*[@resource-id="com.xiaoma.service:id/shop_recycler"]/android.widget.RelativeLayout[{}]/android.widget.LinearLayout/*[@resource-id="com.xiaoma.service:id/details_linear"]/android.widget.LinearLayout/*[@resource-id="com.xiaoma.service:id/shop_address"]'

# 门店列表门店介绍距离
store_list_Store_introduction_distance_text = '//*[@resource-id="com.xiaoma.service:id/shop_recycler"]/android.widget.RelativeLayout[{}]/android.widget.LinearLayout/*[@resource-id="com.xiaoma.service:id/details_linear"]/android.widget.LinearLayout/*[@resource-id="com.xiaoma.service:id/shop_distance"]'

# 下方选择按钮电话
store_list_below_btn = '//*[@resource-id="com.xiaoma.service:id/shop_recycler"]/android.widget.RelativeLayout[{}]/android.widget.LinearLayout/*[@resource-id="com.xiaoma.service:id/shop_phone"]'

# 下方选择按钮导航
store_list_navigation_btn = '//*[@resource-id="com.xiaoma.service:id/shop_recycler"]/android.widget.RelativeLayout[{}]/android.widget.LinearLayout/*[@resource-id="com.xiaoma.service:id/shop_navigation"]'

# 城市列表城市类比A,B类
store_list_city_category_one_text = '//*[@resource-id="com.xiaoma.service:id/recyclerView"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.service:id/tag"]'

# 城市列表首字母城市名称
store_list_city_category_one_name_text = '//*[@resource-id="com.xiaoma.service:id/recyclerView"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.service:id/name"]'

# 城市列表城市名称
store_list_city_category_two_name_text = '//*[@resource-id="com.xiaoma.service:id/recyclerView"]/android.widget.LinearLayout[{}]/android.widget.TextView'
